<?php
    if(C('LAYOUT_ON')) {
        echo '{__NOLAYOUT__}';
    }
?>
<!DOCTYPE html>
<extend name="Error:base" />
<block name="title"><title>心心向善-操作提示</title></block>
<block name="body">
<div style="font-size:30px;font-weight:700;text-align:center;margin:0;width:100%;color:#068dd0;padding-top:250px;">
<?php if(isset($message)) {?>
<?php echo($message); ?>
<?php }else{?>
<?php echo($error); ?>
<?php }?>

 <a id="href" href="<?php echo($jumpUrl); ?>"></a>  <b id="wait" style="font-size:15px;font-weight:500;color:red;"><?php echo($waitSecond); ?></b><b style="font-size:15px;font-weight:500;color:red;">&nbsp;秒</b>
</div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>

</block>	


